package com.example.one;

import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class Main3Activity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main3);
        SharedPreferences sharedPreferences= MyApplication.getSharedPre();
        SharedPreferences.Editor editor = sharedPreferences.edit();
        editor.putBoolean("wel" , true);
        startActivity(new Intent(this,Main2Activity.class));
        finish();
    }
}
